using System;
using Microsoft.SPOT.Hardware;
using SecretLabs.NETMF.Hardware;

namespace IMU6DOF.Netduino
{
    public class IMU6DOF
    {
        private InterruptPort analogXPort;
        private InterruptPort analogYPort;
        private InterruptPort analogZPort;
        private InterruptPort accXPort;
        private InterruptPort accYPort;
        private InterruptPort accZPort;


        /// <summary>
        /// PWM handle
        /// </summary>
        private Cpu.Pin analogXPIN;
        /// <summary>
        /// PWM handle
        /// </summary>
        private Cpu.Pin analogYPIN;
        /// <summary>
        /// PWM handle
        /// </summary>
        private Cpu.Pin analogZPIN;
        /// <summary>
        /// PWM handle
        /// </summary>
        private Cpu.Pin accXPIN;
        /// <summary>
        /// PWM handle
        /// </summary>
        private Cpu.Pin accYPIN;
        /// <summary>
        /// PWM handle
        /// </summary>
        private Cpu.Pin accZPIN;

        public IMU6DOF(Cpu.Pin analogX, Cpu.Pin analogY, Cpu.Pin analogZ,
                        Cpu.Pin accX, Cpu.Pin accY, Cpu.Pin accZ)
        {

        }


        /// <summary>
        /// 
        /// </summary>
        public short AnalogX;

        /// <summary>
        /// 
        /// </summary>
        public short AnalogY;

        /// <summary>
        /// 
        /// </summary>
        public short AnalogZ;

        /// <summary>
        /// 
        /// </summary>
        public short AccX;

        /// <summary>
        /// 
        /// </summary>
        public short AccY;

        /// <summary>
        /// 
        /// </summary>
        public short AccZ;

        /// <summary>
        /// AccX, AccY, AccZ, AnX, AnY, AnZ
        /// </summary>
        public int[] Offsets = new int[6];
    }
}
